Skip to content

feat(desktop): resizable sidebar with persisted size - #267

Merged
Kitenite merged 1 commit into
mainfrom
relieved-pony-c3fbff
Dec 6, 2025
Merged

Kitenite merged 1 commit into
mainfrom
relieved-pony-c3fbff

Conversation

@Kitenite

@Kitenite Kitenite commented Dec 6, 2025

Copy link
Copy Markdown
Member

Summary

  • Replace Framer Motion sidebar animation with ResizablePanel for drag-to-resize functionality
  • Persist sidebar size in zustand store with localStorage
  • Disable layout animations during resize to prevent jittery content

Test plan

  • Drag sidebar handle to resize - should be smooth
  • Toggle sidebar with button - should collapse/expand
  • Resize sidebar, close app, reopen - size should persist
  • Drag items in tabs view - should still animate during reorder

🤖 Generated with Claude Code

Replace Framer Motion sidebar animation with ResizablePanel for smoother, native-feeling resize behavior.

- Add ResizablePanel from shadcn/ui for sidebar resizing
- Persist sidebar size in zustand store with localStorage
- Add isResizing state to disable layout animations during resize
- Support programmatic collapse/expand via toggle button
- Clean up Framer Motion wrapper from Sidebar component

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel

vercel Bot commented Dec 6, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
website Ready Ready Preview Comment Dec 6, 2025 8:23am

@coderabbitai

coderabbitai Bot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@Kitenite has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 14 minutes and 16 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 0e387a0 and c0399b8.

📒 Files selected for processing (4)
  • apps/desktop/src/renderer/screens/main/components/WorkspaceView/Sidebar/TabsView/index.tsx (4 hunks)
  • apps/desktop/src/renderer/screens/main/components/WorkspaceView/Sidebar/index.tsx (1 hunks)
  • apps/desktop/src/renderer/screens/main/components/WorkspaceView/index.tsx (2 hunks)
  • apps/desktop/src/renderer/stores/sidebar-state.ts (1 hunks)
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch relieved-pony-c3fbff

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Kitenite
Kitenite merged commit 1ac4ef3 into main Dec 6, 2025
7 checks passed
@Kitenite
Kitenite deleted the relieved-pony-c3fbff branch December 6, 2025 08:25

This branch was successfully deployed

1 active deployment
Preview — c0399b8a Deployed Dec 6, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant